package cn.bnjy.util;

/**
 * 描述：通用工具类
 *
 * @since: 2018/11/22 22:50
 * @author: chavin
 */
public class CommonUtils {

    private CommonUtils() {

    }

    /**
     * 判断是否windows操作系统
     * @return
     */
    public static boolean isWindows() {
        String os = System.getProperty("os.name");
        return os.toLowerCase().startsWith("win");
    }

}
